package com.hazardSoft.eStore.interfaces;

import java.util.List;

import javax.ejb.Local;

import com.hazardSoft.eStore.common.exception.SystemException;
import com.hazardSoft.eStore.entities.Office;

public @Local interface OfficesLocal {
	public Office insertOffice(Office office) throws SystemException;
	public Office searchOfficeById(Office office) throws SystemException;
	public Office searchOfficeByName(Office office) throws SystemException;;
	public Office updateOffice(Office office) throws SystemException;
	public boolean removeOffice(Office office) throws SystemException;
	public List<Office> listOffices() throws SystemException;
}
